Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <form action="http://www.w3schools.com/tags/demo_form.asp"> Quantity (between 1 and 5): <input type="number" name="quantity" min="1" max="5"> <input type="submit"> </form> <p><b>Note:</b> type="number" is not supported in Internet Explorer 9 and earlier versions.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_number by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:50 GMT --> </html>
Result:
Try it Yourself - © w3schools.com